package org.whb.order.service;

import org.whb.basic.service.IBaseService;
import org.whb.order.domain.AdoptOrder;
import org.whb.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    /**
     * 宠物领养订单
     * @param params
     * @param logininfo
     * @return
     */
    String submit(Map<String, Object> params, Logininfo logininfo);

    /**
     * 取消订单
     * @param orderId
     */
    void cancelOrder(Long orderId);
}
